/**
 * Creating a sidebar enables you to:
 - create an ordered group of docs
 - render a sidebar for each doc of that group
 - provide next/previous navigation

 The sidebars can be generated from the filesystem, or explicitly defined here.

 Create as many sidebars as you want.
 */

// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
//const sidebars = {
//  // By default, Docusaurus generates a sidebar from the docs folder structure
//  tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
//
//  // But you can create a sidebar manually
//  /*
//  tutorialSidebar: [
//    'intro',
//    'hello',
//    {
//      type: 'category',
//      label: 'Tutorial',
//      items: ['tutorial-basics/create-a-document'],
//    },
//  ],
//   */
//};

//export default sidebars;
export default {
    startSidebar:[
        'start/intro',
        'start/start',
    ],
    usageSidebar: [
        {
        '🗂️ Recorder': [
            'usage/Recorder/create',
            'usage/Recorder/add_data',
            'usage/Recorder/save',
            'usage/Recorder/header',
            'usage/Recorder/read_data',
            'usage/Recorder/style',
            'usage/Recorder/clear',
            'usage/Recorder/settings',
            'usage/Recorder/attributes',
        ],
    },
        'usage/ByteRecorder',
        'usage/DBRecorder'
    ],
    demoSidebar: [
        {
            type: 'link',
            label: '📚 离线文档',
            href: 'https://mall.bilibili.com/neul-next/detailuniversal/detail.html?isMerchant=1&page=detailuniversal_detail&saleType=10&itemsId=12874031&loadingShow=1&noTitleBar=1&msource=merchant_share'
        },
        {
            '🗝️ 功能示例': [
                'tutorials/examples/get_data',
                'tutorials/examples/add_links',
                'tutorials/examples/fill_table',
                'tutorials/examples/split_table',
                'tutorials/examples/mark_err',
            ],
        },
    ],
};